-
Home
-
Alma – Pay in installments or later for WooCommerce
-
5.5.0
-
Code
-
Classes
- AlmaSettings
Total Complexity |
129 |
Dependencies |
32 |
Dependents |
24 |
Total lines |
1,028 |
Lines of code |
452 |
Logical lines of code |
231 |
Comment lines |
423 |
Methods |
55 |
Properties |
10 |
Methods 55
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
should_display_plan() |
A |
50 |
12 |
31 |
init_allowed_fee_plans() |
A |
46 |
11 |
35 |
get_alma_merchant_id() |
S |
49 |
6 |
30 |
is_allowed_fee_plan() |
S |
62 |
5 |
13 |
get_enabled_plans_definitions() |
S |
55 |
4 |
20 |
build_fee_plan() |
S |
56 |
4 |
19 |
has_pnx_4() |
S |
66 |
4 |
8 |
has_pay_later() |
S |
66 |
4 |
8 |
get_i18n() |
S |
63 |
3 |
12 |
get_alma_client() |
S |
57 |
2 |
18 |
create_payment() |
S |
58 |
2 |
17 |
get_settings() |
S |
67 |
3 |
7 |
has_pnx_plus_4() |
S |
67 |
3 |
8 |
has_pay_now() |
S |
67 |
3 |
8 |
get_eligible_plans_keys() |
S |
65 |
3 |
9 |
get_environment() |
S |
79 |
2 |
3 |
fetch_payment() |
S |
65 |
2 |
9 |
send_soc_data() |
S |
65 |
2 |
9 |
trigger_payment() |
S |
65 |
2 |
9 |
load_settings() |
S |
71 |
2 |
6 |
full_refund() |
S |
65 |
2 |
9 |
get_soc_last_updated_date() |
S |
65 |
2 |
9 |
partial_refund() |
S |
64 |
2 |
9 |
has_keys() |
S |
72 |
2 |
6 |
get_active_merchant_id() |
S |
71 |
2 |
6 |
get_active_api_key() |
S |
79 |
2 |
3 |
get_description() |
S |
71 |
2 |
6 |
get_title() |
S |
71 |
2 |
6 |
deny_soc_consent() |
S |
65 |
2 |
9 |
get_alma_fee_plans() |
S |
66 |
2 |
8 |
is_allowed_to_see_alma() |
S |
77 |
2 |
3 |
__get() |
S |
68 |
2 |
7 |
is_eligible() |
S |
78 |
2 |
3 |
is_pnx_plus_4() |
S |
72 |
2 |
6 |
accept_soc_consent() |
S |
65 |
2 |
9 |
__construct() |
S |
63 |
1 |
11 |
save() |
S |
80 |
1 |
3 |
get_min_amount() |
S |
79 |
1 |
3 |
is_blocks_template_enabled() |
S |
80 |
1 |
3 |
get_display_text() |
S |
80 |
1 |
3 |
get_eligible_plans_definitions() |
S |
69 |
1 |
8 |
__isset() |
S |
79 |
1 |
3 |
is_plan_enabled() |
S |
78 |
1 |
3 |
__set() |
S |
80 |
1 |
3 |
get_installments_count() |
S |
79 |
1 |
3 |
get_max_amount() |
S |
79 |
1 |
3 |
get_test_api_key() |
S |
80 |
1 |
3 |
get_deferred_days() |
S |
79 |
1 |
3 |
get_deferred_months() |
S |
79 |
1 |
3 |
is_enabled() |
S |
80 |
1 |
3 |
is_live() |
S |
80 |
1 |
3 |
is_test() |
S |
80 |
1 |
3 |
flag_as_fraud() |
S |
76 |
1 |
4 |
get_live_api_key() |
S |
80 |
1 |
3 |
need_api_key() |
S |
80 |
1 |
3 |